package fair.dao;

import fair.pojo.Order;

import java.util.List;
import java.util.Map;

/**
 * @author fair_wu
 * @version v1.0
 * @package fair.dao
 * @date 2021-01-28 下午 21:34
 */
public interface OrderDao {
    List<Order> findByCondition(Order order);

    void add(Order order);

    Map findById4Detail(Integer id);

    Integer findOrderCountByDate(String today);

    Integer findVisitCountByDate(String today);

    Integer findOrderCountAfterDate(String monday);

    Integer findVisitCountAfterDate(String monday);

    List<Map<String, Object>> findHotSetmeal();
}
